
//
// 110619 - AH - (Garage *) Created.
//

package org.soekrat.engine.io.xmlutil;

/**
 * <p>
 *   Interface for objects that writes XML as a function of a given 
 *   {@link Object}.
 * </p>
 * @author Arne Halvorsen (AH)
 * @author Laetitia Le Chatton (LLC) 
 */
public interface XmlContentGenerator 
{
  /**
   * <p>
   *   Compiles content XML under control of a 
   *   {@link XmlContentGenerator}.
   * </p>
   * @param c Object to compile XML representation of.
   * @return Compiled XML.
   */
  String compile(Object c);
  
}
